//按钮组
.btn{
    display:inline-block;
    padding:6px 12px;
    margin-bottom:0;
    font-size:14px;
    font-weight:normal;
    line-height:1.428571429;
    text-align:center;
    white-space:nowrap;
    vertical-align:middle;
    cursor:pointer;
    border:1px solid transparent;
    border-radius:4px;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    -o-user-select:none;
    user-select:none
}
.btn:focus {
    outline:thin dotted #333;
    outline:5px auto -webkit-focus-ring-color;
    outline-offset:-2px
}
.btn:hover,.btn:focus {
    color:#333;
    text-decoration:none
}
.btn:active,.btn.active {
    background-image:none;
    outline:0;
    box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)
}
.btn.disabled,.btn[disabled],fieldset[disabled] .btn {
    pointer-events:none;
    cursor:not-allowed;
    opacity:.65;
    filter:alpha(opacity=65);
    box-shadow:none
}
.btn-link {
    font-weight:normal;
    color:#428bca;
    cursor:pointer;
    border-radius:0
}
.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link {
    background-color:transparent;
    box-shadow:none
}
.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active {
    border-color:transparent
}
.btn-link:hover,.btn-link:focus {
    color:#2a6496;
    text-decoration:underline;
    background-color:transparent
}
.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus {
    color:#999;
    text-decoration:none
}
.btn-lg{
    padding:10px 16px;
    font-size:18px;
    line-height:1.33;
    border-radius:6px
}
.btn-sm,.btn-xs{
    padding:5px 10px;
    font-size:12px;
    line-height:1.5;
    border-radius:3px
}
.btn-xs {
    padding:1px 5px
}
.btn-block{
    display:block;
    width:100%;
    padding-right:0;
    padding-left:0
}
.btn-block+.btn-block {
    margin-top:5px
}
input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block {
    width:100%
}

.btn_color(@class,@color,@text_color:#fff){
    .btn-@{class}{
        &.disabled,&[disabled],
        &.disabled:hover,&[disabled]:hover,
        &.disabled:focus,&[disabled]:focus,
        &.disabled:active,&[disabled]:active,
        &.disabled.active,&[disabled].active{
            background-color:@color / 0.9;
            border-color:@color;
        }
    }
    fieldset[disabled]{
        .btn-@{class}{
                background-color:@color / 0.9;
                border-color:@color;
            &:hover,&:focus,&:active,&.active{
                background-color:@color / 0.9;
                border-color:@color;
            }
        }
    }
    .btn-@{class}{
        background-color:@color;
        border-color:@color;
        color:@text_color;
        &:active,&.active{
            background-image:none;
        }
        &.active,&:active,&:focus,&:hover{
            background-color:@color / 1.1;
            border-color:@color / 1.1;
            color:@text_color;
        }
        &.btn-shadow{
            box-shadow:0 4px @color / 1.3;
        }
    }
    .open .dropdown-toggle.btn-@{class}{
        background-image:none;
        background-color:@color / 1.1;
        border-color:@color / 1.1;
        color:@text_color;
    }
}
//灰色
@color_gray:#bec3c7;
.btn_color(gray,@color_gray);
//灰色
@color_666:#666;
.btn_color(666,@color_666);
//蓝色
@color_blue:#58c9f3;
.btn_color(blue,@color_blue);
//紫色
@color_violet:#8175c7;
.btn_color(violet,@color_violet);
//红色
@color_gules:#ff6c60;
.btn_color(gules,@color_gules);
//绿色
@color_green:#78cd51;
.btn_color(green,@color_green);
//橙色
@color_orange:#ff7200;
.btn_color(orange,@color_orange);
//黄色
@color_yellow:#f1c500;
.btn_color(yellow,@color_yellow);
.btn-white {
    box-shadow:none!important
}
.btn-round {
    border-radius:30px;
    -webkit-border-radius:30px
}
.btn-group.open .dropdown-toggle,.btn-white.active,.btn.active,.btn:active {
    box-shadow:none
}
.btn-white {
    background-clip:padding-box;
    background-color:#fff;
    border-color:rgba(150,160,180,.3);
    box-shadow:0 -1px 1px rgba(0,0,0,.05) inset
}